import { createRouter, createWebHashHistory } from "vue-router";
import routes from '@/router/routes';
import { createRouteGuard } from '@/router/guards';


const router = createRouter({
    history: createWebHashHistory(),
    routes,
});

createRouteGuard(router)

export function setupRouter(app) {
    app.use(router)
}